.class Lcom/xingbook/ting/lyric/e;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/util/Comparator;


# instance fields
.field final synthetic a:Lcom/xingbook/ting/lyric/d;


# direct methods
.method constructor <init>(Lcom/xingbook/ting/lyric/d;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ting/lyric/e;->a:Lcom/xingbook/ting/lyric/d;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/xingbook/ting/lyric/j;Lcom/xingbook/ting/lyric/j;)I
    .locals 4

    invoke-virtual {p1}, Lcom/xingbook/ting/lyric/j;->a()J

    move-result-wide v0

    invoke-virtual {p2}, Lcom/xingbook/ting/lyric/j;->a()J

    move-result-wide v2

    cmp-long v0, v0, v2

    if-nez v0, :cond_2

    const-string v0, ""

    invoke-virtual {p1}, Lcom/xingbook/ting/lyric/j;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, ""

    invoke-virtual {p2}, Lcom/xingbook/ting/lyric/j;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p1}, Lcom/xingbook/ting/lyric/j;->a()J

    move-result-wide v0

    invoke-virtual {p2}, Lcom/xingbook/ting/lyric/j;->a()J

    move-result-wide v2

    sub-long/2addr v0, v2

    long-to-int v0, v0

    :goto_0
    return v0

    :cond_0
    const-string v0, ""

    invoke-virtual {p1}, Lcom/xingbook/ting/lyric/j;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, -0x1

    goto :goto_0

    :cond_1
    const/4 v0, 0x1

    goto :goto_0

    :cond_2
    invoke-virtual {p1}, Lcom/xingbook/ting/lyric/j;->a()J

    move-result-wide v0

    invoke-virtual {p2}, Lcom/xingbook/ting/lyric/j;->a()J

    move-result-wide v2

    sub-long/2addr v0, v2

    long-to-int v0, v0

    goto :goto_0
.end method

.method public synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .locals 1

    check-cast p1, Lcom/xingbook/ting/lyric/j;

    check-cast p2, Lcom/xingbook/ting/lyric/j;

    invoke-virtual {p0, p1, p2}, Lcom/xingbook/ting/lyric/e;->a(Lcom/xingbook/ting/lyric/j;Lcom/xingbook/ting/lyric/j;)I

    move-result v0

    return v0
.end method
